#include <QCoreApplication>
#include <iostream>
#include <conio.h>

#include <iostream>
#include <conio.h>
using namespace std;

char* func(char* str)
{
 cout << "Poluchena stroka:" << str<< endl;
 return str;
}
int main()
{
 char str[] = {"String"};
 char *str2 = func(str);
 cout << str2 << endl;
 getch();
}
